package com.eicas;

import com.strategy.IStrategy;

public class B implements IStrategy {
    public final void sayHello(){
        System.out.println("B say hello!");
    }

    @Override
    public void strategyMethod() {
        this.sayHello();
    }
}
